package com.desire.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.desire.enums.GradeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-16 周六 11:48
 * @since 17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book {
    private Long id;
    private String name;
    private String author;
    private Double price;
    @EnumValue
    private GradeEnum grade;
}
